Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from derivative to derive-where #459

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

qinheping
Copy link
Contributor

Derivative has not been maintained in 3 years and recently been marked as unmaintained by RUSTSEC (https://rustsec.org/advisories/RUSTSEC-2024-0388).

This PR replaces derivative with derive-where, a not dead alternative.

github-merge-queue bot pushed a commit to model-checking/kani that referenced this pull request Nov 11, 2024
`derivative` is marked as unmaintained by RUSTSEC but still used in
Charon. We exclude it from the deny check until `derivative` is replaced
in Charon (AeneasVerif/charon#459).

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
@Nadrieril
Copy link
Member

Thank you, this is a welcome change! Could you commit the updated Cargo.lock as well?

@qinheping
Copy link
Contributor Author

Cargo.lock added in the latest commit.

@Nadrieril
Copy link
Member

I'm getting "note: an implementation of PartialEq might be missing for ast::types::TraitClause" errors, something isn't working right.

@Nadrieril
Copy link
Member

I see, there was a typo. I have fixed this but please run tests before submitting a PR next time.

@Nadrieril Nadrieril merged commit 454078e into AeneasVerif:main Nov 13, 2024
5 checks passed
@Nadrieril
Copy link
Member

Ended up switching to a manual impl in the end. Should be good, let me know if there are other dependencies that are problematic for kani!

@qinheping qinheping deleted the derive-where branch November 13, 2024 16:04
github-merge-queue bot pushed a commit to model-checking/kani that referenced this pull request Nov 14, 2024
Reverts #3708

The issue of `derivative` has been fixed in Charon:
AeneasVerif/charon#459.

Co-authored-by: Zyad Hassan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants